PATH = C:/mysoft/VC/bin/amd64
SRC :=uart_tool
CC = $(PATH)/cl.exe
SDK_Version=10.0.14393.0
export include = C:\mysoft\VC\include;C:\mysoft\Windows Kits\10\Include\$(SDK_Version)\ucrt;C:\mysoft\Windows Kits\10\Include\$(SDK_Version)\um;C:\mysoft\Windows Kits\10\Include\$(SDK_Version)\winrt;C:\mysoft\Windows Kits\10\Include\$(SDK_Version)\shared;
export lib = C:\mysoft\Windows Kits\10\Include\$(SDK_Version)\shared;C:\mysoft\VC\lib\amd64;C:\mysoft\Windows Kits\10\Lib\$(SDK_Version)\ucrt\x64;C:\mysoft\Windows Kits\10\Lib\$(SDK_Version)\um\x64;
all:
	$(CC) $(SRC).c
	.\$(SRC).exe COM6 ..\software\build\riscv.bin